package study02;
import java.util.Scanner;

/**
* @author GZQ
* @Date 2023/11/5
 */

//两个数比较大小
public class JudgeSize {
    public static void main(String[] args) {
        int a, b;
        Scanner input = new Scanner(System.in);
        System.out.println("请输入一个数：");
        a = input.nextInt();
        System.out.println("请在输入一个数：");
        b = input.nextInt();
        if (a > b) {
            System.out.println("您输入较大的数是：" +  "a, a = " + a);
        } else {
            System.out.println("您输入较大的数是：" + "b, b = " + b);
        }
    }
}
